﻿@{
    ViewBag.Title = "Index";
    Layout = "~/Views/Shared/_HomeLayout.cshtml";
}

<style>

</style>

<h2>Index</h2>


@foreach (var show in Model) {
    <a href="~/Temporada/Index/@show.id">
        <img src="@show.foto" alt="@show.nombre" class="img-rounded" style="max-width: 30%;">
    </a>    
}

<ul>
<li><a href="@Url.Action(actionName: "Index", controllerName: "TVShow")">Admin</a></li>
<li><a href="@Url.Action(actionName: "Index", controllerName: "Temporada")">Temporada</a></li>
</ul>
